<!DOCTYPE html>
<html lang="zh-cn">
{{ partial "head.html" . }}

<body>
    {{ $active := "doc" }}
    {{ partial "header.html" (dict "context" .   "active" "doc") }}

    {{ if eq .Params.Render  "video"}}
    {{ partial "video.html" . }}
    {{else}}
    {{ partial "doc-head.html" . }}
    <section class="section content-section">
        <div class="container-full content-body">
            {{ partial "menu.html" . }}
            <div class="doc-content">
                {{ partial "search.html" . }}
                <div>
                    <div class="article-title">
                        <span class="t">{{ .Title }}</span>
                        {{ if and (or .IsPage .IsSection) .Site.Params.editURL }}
                        {{ $File := .File }}
                        {{ $Site := .Site }}
                        {{with $File.Path }}
                        <span class="e is-hidden-mobile"><a
                                href="{{ $Site.Params.editURL }}{{ replace $File.Dir "\\" "/" }}{{ $File.LogicalName }}"
                                target="_blank">编辑此页面</a></span>
                        {{ end }}
                        {{ end }}
                    </div>
                    <div class="markdown-body">
                        {{ .Content }}
                    </div>
                </div>
                <div class="feedback">
                    <p>您对当前文档有任何疑问或使用Rainbond过程中遇到问题，请通过以下方式联系我们</p>
                    {{ partial "medium.html" . }}
                </div>
            </div>
            {{ if .Site.Params.toc | default true }}
                {{ partial "toc.html" . }}
            {{ end }}
        </div>
    </section>
    {{end}}

    {{ partial "footer.html" . }}
</body>